home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 015a / dv_util.zip / UTILREAD.ME < prev    next >
Text File  |  1991-01-11  |  5KB  |  87 lines

  1.  
  2.         This archive contains DESQview PIFs, supporting batch files, and
  3. other various odds and ends for programs you may wish to use with DV Tree.
  4. The examples are not intended to be usable in all cases without
  5. modification, and a certain degree of knowledge of DESQview PIF setup and
  6. batch file programming may be required.
  7.  
  8.         A portion of the contents of this archive are generally relevant
  9. to users of programs such as PKZIP, LHARC, PAK, and other archiving
  10. utilities; together, these examples provide ways to use DV Tree and
  11. DESQview to manage archive files in a multi-tasking fashion.  Some of the
  12. batch files execute a small included utility called DVTUPDAT.COM.  This
  13. utility's one purpose in life is to request DV Tree to refresh its file
  14. directory display(s).  It may be run from any window within DESQview, and
  15. will simply do nothing if DV Tree is not present. If multiple copies of DV
  16. Tree are running, the one started first will receive the message.
  17.  
  18.         The best way to get started is to copy these files and PIFs to the
  19. DV Tree directory, preferably C:\DV\DVTREE as that will require the least
  20. amount of change.   You should copy DVTUPDAT.COM to a directory in the DOS
  21. PATH, and also ensure that all archiving/dearchiving software you use in
  22. the DOS PATH as well.  The examples here come in the following pairs, with
  23. the suggested DV Tree DESQview function codes in parentheses:
  24.  
  25. UA-PIF.DVP/UNARCHIV.BAT(%c%y %p%O)
  26.  
  27.         This batch file takes the pointed-at file extension and checks for
  28. .ZIP, .ARC, .LZH, .ZOO, or .PAK.  When it finds a match it passes the rest
  29. of the input, the full pathname of the pointed-at file, to the appropriate
  30. de-archiving utility (PKUNZIP, PKXARC, LHARC, LOOZ, PAK). If the screen is
  31. split, the archival files will be placed in the directory shown in the
  32. opposite split.  The PIF has a '?' on its parameter which causes it to
  33. pause before starting the batch file, in this case to allow up to seven
  34. individual filenames or masks to be specified to limit the scope of the
  35. file extraction.  The PIF has a memory size of 160K; this may be reduced
  36. to 128K if the PAK utility is not used.
  37.  
  38. LA-PIF.DVP/LISTARCH.BAT(%c%y %p)
  39.  
  40.         This batch file processes a file extension and executes the
  41. appropriate program in the same manner as the previous example.  Files are
  42. de-archived to a temporary file (LZ.XYZ), which is then LISTed.  This file
  43. will require editing if your LIST program is not called LIST.  When list
  44. is exited, the temporary file is deleted.  Again, the 160K memory size is
  45. to accommodate PAK.
  46.  
  47. ZL-PIF.DVP/DVLZIP.BAT(%c%p)
  48.  
  49.         This is a simplified version of the previous example, meant only
  50. for .ZIP files and tailored to common needs (that of viewing .DOC and
  51. README or READ.ME files in newly acquired archives.)  The same pause
  52. occurs at startup, but if nothing is entered, the batch file tries to
  53. extract only *.DOC and READ*.*.
  54.  
  55. CZ-PIF.DVP/DVCZIP.BAT(%c%p)
  56.  
  57.         This very simple batch file does nothing more than execute a
  58. program called FV and pause.  FV is a shareware utility by Vernon Buerg,
  59. the author of LIST, and all it's meant to do is list out the internal file
  60. names of an archive file of any variety.  It does this very quickly, in
  61. very little memory, and I highly recommend it - distributed as FVnnn.*
  62. (ex: FV132.ZIP), it's also been included in the more recent releases of
  63. the LIST program (LIST75A, for instance.)
  64.  
  65.  
  66.         Another pair of example files are enclosed for users of
  67. WordPerfect 5.1 wishing to use DV Tree's reload feature for this
  68. application.  WordPerfect, does not easily lend itself to any of the usual
  69. techniques as it requires a separate prompt to change directories, and
  70. then a 'name match' to get to the file you're looking for (you also must
  71. me, by the way, in 'short' directory mode to get to anything that's not
  72. already a WP file.)
  73.  
  74.         The following is workable code string for WordPerfect that uses a
  75. script to trigger a WP macro:
  76.  
  77.         %c%p%A&z&2%d%e%s%e.
  78.  
  79.         The &z code kicks off the {255} script contained in WP-SCRIP.DVS,
  80. and the script uses ALT-F10 to run the Word Perfect macro TLOAD.WPM. The
  81. macro pauses first for a directory name (supplied by %d%e), then a file
  82. name (%s%e).  Please note the 2 second delay after the &z.  If you use WP
  83. and would like to try this, you of course must move TLOAD.WPM to your WP
  84. macro directory, and WP-SCRIP.DVS to your \DV directory (If you've already
  85. got scripts for WP, however, you might do better just to 'LEARN' the {255}
  86. script manually (ALT-F10/load TLOAD macro).)
  87.